const db = require('./db')

const Schema = db.Schema

const contentSchema = new Schema({
    keywordId: Schema.Types.ObjectId,
    siteId: Schema.Types.ObjectId,
    title: String,
    link: String,
    date: Date,
    weibo: Object,
    weixin: Object,
    siteName: String,
    keywords: String,
    createTime: { type: Date, default: Date.now }
})

module.exports = contentSchema